import request from '@/utils/request'

// 查询人力资源-工作经历列表
export function listHrBaseWork(query) {
  return request({
    url: '/work/hrBaseWork/list',
    method: 'get',
    params: query
  })
}

// 查询人力资源-工作经历详细
export function getHrBaseWork(id) {
  return request({
    url: '/work/hrBaseWork/' + id,
    method: 'get'
  })
}

// 保存人力资源-工作经历
export function saveHrBaseWork(data) {
  return request({
    url: '/work/hrBaseWork/save',
    method: 'post',
    data: data
  })
}

// 删除人力资源-工作经历
export function delHrBaseWork(id) {
  return request({
    url: '/work/hrBaseWork/' + id,
    method: 'delete'
  })
}

// 导出人力资源-工作经历
export function exportHrBaseWork(query) {
  return request({
    url: '/work/hrBaseWork/export',
    method: 'get',
    params: query
  })
}
